package mall.kotlin.com.myapplication;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * USER: zjw
 * DATA: 2018/11/19 0019
 * TIME: 下午 5:11
 */
public interface IpService {
    @GET("getIpInfo.php?ip=59.108.54.37")
    Call<IpBean> getMap();

    @GET("?tn=97851118_hao_pg")
    Call<ResponseBody> getMap4();

    @GET("{path}/getIpInfo.php?ip=59.108.54.37")
    Call<IpBean> getMap2(@Path("path") String path);

    @GET("getIpInfo.php")
    Call<ResponseBody> getMap3(@Query("ip") String ip);
}
